{% extends "GwitPlateformBundle::formulaire_layout.html.twig" %}

{% block container %}
<div class="container">
    <div class="content">

        <div class="row">		

            <div class="span3">

                <div>
                    <form method="post" style="padding: 10px;" class="well" id="login_form" name="login_form" action="{{ path("fos_user_security_check") }}">
                        
                        <fieldset>

                            <div class="control-group ">

                                <label for="_login" class="control-label">Login</label>

                                <div class="controls">

                                    <input type="text" class="span4" style="width:180px;" id="username" value="" name="_username"/>

                                </div>
                            </div>
                            <div class="control-group ">

                                <label for="_password" class="control-label">Password</label>

                                <div class="controls">

                                    <input type="password" class="span4" style="width:180px;" id="password" value="" name="_password"/>

                                </div>
                            </div>

                            <label class="checkbox">
                                <input type="checkbox" value="1" id="remember" name="_remember_me"> Remember me
                            </label>

                            <input type="hidden" value="user_login" name="action"/>
                            <input type="submit" value="GO" class="btn"/>

                            <br/>
                            <a href="/public/register" class="active">Register</a>
                            <br/>
                            <a href="/public/reset_password" class="active">Forgot your password?</a>

                            <fieldset>

                            </fieldset>
                        </fieldset>
                    </form>
                </div>

            </div>
            <div></div>
            <div class="span9">
                {% form_theme form 'GwitPlateformBundle:Form:page_account_fields.html.twig' %}
                <form method="post" class="form-horizontal" action="{{ path('fos_user_registration_register') }}" name="register_form" id="register_form" {{ form_enctype(form) }}>
                    <fieldset>
                        <legend>Registration form</legend>
                        
                            {{ form_widget(form) }}
                        
                        <div class="form-actions">
                            <button class="btn btn-primary" type="submit">Submit</button>
                        </div>				
                    </fieldset>
                </form>
            </div>
            
        </div>
    </div>
{% endblock %}